public class Test {
    public static void main(String[] args) {
        MyLinkedList myLinkedList=new MyLinkedList();
        myLinkedList.addIndex(0,0);
        myLinkedList.addIndex(1,0);
        myLinkedList.addIndex(2,0);
        myLinkedList.addIndex(3,0);
        myLinkedList.addIndex(4,0);
        myLinkedList.display();
        System.out.println();
        myLinkedList.clear();
        myLinkedList.display();

    }
}
